﻿using Fuse8.ContentManagementFramework.Domain.Bases;
using Fuse8.ContentManagementFramework.Domain.Special;
using Fuse8.DomainFramework.Domain;
using System;
using System.Collections.Generic;

namespace Fuse8.ContentManagementFramework.Domain.Commands.CommandParameters
{
    public class CmsMediaContentCreateCommandParameter : IEntityCommandParameter, ITrackingEntityObject
    {
        public int MediaId { get; set; }

        public IEnumerable<CmsAdminMediaContent> MediaContents { get; set; }

        #region ISiteAwareEntityObject Members

        public int Id { get; set; }

        public SiteAwareCategory SiteCategory
        {
            get { throw new NotImplementedException(); }
        }

        #endregion ISiteAwareEntityObject Members

        #region ITrackingEntityObject Members

        public bool IsNew
        {
            get
            {
                return Id == 0;
            }
        }

        public int CreatedBy { get; set; }

        public DateTime DateCreated { get; set; }

        public int? LastUpdatedBy { get; set; }

        public DateTime? DateLastUpdated { get; set; }

        #endregion ITrackingEntityObject Members
    }
}